# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py3-dialog
pkgver=3.5.3
pkgrel=5
pkgdesc="A Python3 interface to the UNIX dialog utility and mostly-compatible programs"
url="https://pythondialog.sourceforge.net/"
arch="noarch"
license="LGPL-2.1-only"
depends="dialog"
makedepends="python3-dev binutils py3-setuptools"
subpackages="$pkgname-pyc"
source="https://downloads.sourceforge.net/project/pythondialog/pythondialog/$pkgver/python3-pythondialog-$pkgver.tar.bz2"
builddir="$srcdir"/pythondialog-$pkgver

build() {
	python3 setup.py build
}

check() {
	python3 setup.py check
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="
69ae3e3894dbd56136989699fee7a7f459ce9a024e0e06d22193f5fd306f0f2bf2f4d300460f7de7898db347acdf6111652878948a78468a1aa23158c5f7ae98  python3-pythondialog-3.5.3.tar.bz2
"
